<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                xmlns:ui="http://xmlns.jcp.org/jsf/facelets">

    <h:panelGrid columns="2">
        登录帐号：
        <h:inputText value="#{authorMgr.curAuthor.account}"/>
        登录密码
        <h:inputSecret value="#{authorMgr.curAuthor.password}"/>
        显示名称
        <h:inputText value="#{authorMgr.curAuthor.name}"/>
        头像地址
        <h:inputText value="#{authorMgr.curAuthor.picUrl}"/>
        座右铭
        <h:inputText value="#{authorMgr.curAuthor.motto}"/>
    </h:panelGrid>
    <h:commandButton value="注册" action="#{authorMgr.regedit()}"/>

</ui:composition>

